package cn.huoyingkeji.common.domain;

import java.util.ArrayList;
import java.util.List;

import com.baomidou.mybatisplus.core.metadata.OrderItem;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class Page{
/**
     * 排序字段信息
     */
    @Schema(description = "排序字段信息")
    protected List<OrderItem> orders = new ArrayList<>();

    /**
     * 每页显示条数，默认 10
     */
    @Schema(description = "每页显示条数，默认 10")
    protected long size = 10;

    /**
     * 当前页
     */
    @Schema(description = "当前页")
    protected long current = 1;
}
